import React from 'react';
import { useParams } from 'react-router-dom';

const CourseDetail: React.FC = () => {
  const { id } = useParams();
  return (
    <div>
      <h2>课程详情 - {id}</h2>
    </div>
  );
};

export default CourseDetail; 